﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>

<div class="tab">
	<ul class="login">
		<li class="left">&nbsp;</li>        
<%
    if (Request.IsAuthenticated) {
%>
        <li>Bienvenido: <%= Page.User.Identity.Name %></li>
		<li class="sep">|</li>
		<li id="Li1">
           [ <%= Html.ActionLink("Cerrar Sesión", "LogOff", "Login") %>	]
		</li>        
<%
    }
    else {
%> 
        <li>[ <%= Html.ActionLink("Iniciar sesión", "Index", "Login") %> ]</li>
<%
    }
%>	
        <li class="right">&nbsp;</li>
	</ul> 
</div>
